const upload = {
  state: {
    status: 0 // 0 资产上传 1 通用上传
  },

  mutations: {
    SET_UPLOAD: (state, status) => {
      state.status = status
    }
  },

  actions: {
    SetUpload: ({ commit }, upload) => {
      commit('SET_UPLOAD', upload)
    }
  }
}

export default upload
